<template>
  <div style="height: 50px;line-height: 50px; border-bottom: 1px solid #ccc; display: flex">
    <div style="width: 200px; padding-left: 30px; font-weight: bold; color: deepskyblue">功能菜单</div>
    <div style="flex: 1"></div>
    <div style="width: 100px">
      <el-dropdown>

        <span class="el-dropdown-link">
          <br>
          管理员<el-icon class="el-icon--right">
            <User />
          </el-icon>
        </span>
        <template #dropdown>
          <el-dropdown-menu>
            <el-dropdown-item>AAAAAA</el-dropdown-item>
            <el-dropdown-item>BBBBBB</el-dropdown-item>
            <!--disabled代表禁用-->
<!--            <el-dropdown-item disabled>Action 4</el-dropdown-item>-->
<!--            <el-dropdown-item divided>Action 5</el-dropdown-item>-->
          </el-dropdown-menu>
        </template>
      </el-dropdown>
    </div>
  </div>
</template>

<script>

import {User} from '@element-plus/icons';

export default {
  name: "Header",
  components: {
    User
  }
}
</script>

<style scoped>

</style>